package com.aizuda.boot.modules.common.constant.enums;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author sangyirong
 * @ClassName FeiShuTaskStatus
 * @Version 1.0
 * @Date 2025/8/4 18:33
 */
@Getter
@AllArgsConstructor
public enum FeiShuTaskStatus {

    PENDING("PENDING", "待审批"),
    APPROVED("APPROVED", "任务同意"),
    REJECTED("REJECTED", "任务拒绝"),
    TRANSFERRED("TRANSFERRED", "任务转交"),
    DONE("DONE", "任务通过但审批人未操作");

    @Schema(description = "状态码（与飞书API对齐）")
    private final String key;

    @Schema(description = "中文描述")
    private final String desc;
}
